package com.server.config;

import com.server.bean.UserBean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhangxiaowei 2020/4/29
 */
//@ComponentScan
//@Configuration
public class BeanConfig {
//    @Bean()
    public UserBean userBean() {
        return new UserBean();
    }
}
